package org.codefinger.json.util.type;

import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.Date;

public interface TypeConverter {

	public Integer castToInt(Object value);

	public Byte castToByte(Object value);

	public Character castToChar(Object value);

	public Short castToShort(Object value);

	public Long castToLong(Object value);

	public Float castToFloat(Object value);

	public Double castToDouble(Object value);

	public Boolean castToBoolean(Object value);

	public String castToString(Object value);

	public BigDecimal castToBigDecimal(Object value);

	public BigInteger castToBigInteger(Object value);

	public Date castToDate(Object value);

}
